package com.zhz.model.employee;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhz.common.tool.mybatisplus.base.dal.entity.BasePO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.time.LocalDateTime;

/**
 * 转正申请
 *
 * @author zhouhengzhe
 * @date 2023/3/21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@TableName(value = "em_positive")
public class EmployeePositive extends BasePO {

    @TableField(USER_ID)
    @ApiModelProperty("员工ID")
    private String userId;

    @TableField(DATE_OF_CORRECTION)
    @ApiModelProperty("转正日期")
    private LocalDateTime dateOfCorrection;

    @TableField(CORRECTION_EVALUATION)
    @ApiModelProperty("转正评价")
    private String correctionEvaluation;

    @TableField(ENCLOSURE)
    @ApiModelProperty("附件")
    private String enclosure;

    @TableField(ESTATUS)
    @ApiModelProperty("单据状态 1是未执行，2是已执行")
    private Integer estatus;

    public static final String USER_ID = "user_id";

    public static final String DATE_OF_CORRECTION = "date_of_correction";

    public static final String CORRECTION_EVALUATION = "correction_evaluation";

    public static final String ENCLOSURE = "enclosure";

    public static final String ESTATUS = "estatus";

}